<form method="post">
    <label for="username">Felhasználónév:</label>
    <input type="textfield" name="username" /><br/>
    <label for="email">E-mail:</label>
    <input type="textfield" name="email" /><br/>
    <label for="password">Jelszó:</label>
    <input type="password" name="password" /><br/>
    <label for="password">Jelszó2:</label>
    <input type="password" name="password2" /><br/>
    <input type="submit" name="registration" value="Regisztrálás" />
</form>
<?php if(isset($error)): ?>
<ul>
    <?php foreach($error as $e): ?>
    <li><?php echo $e ?></li>
    <?php endforeach ?>
</ul>
<?php endif; ?>


